home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / util / moni / Scout-src.lha / source / startup_defs.h < prev    next >
C/C++ Source or Header  |  2002-09-16  |  2KB  |  61 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28. #ifndef STARTUP_DEFS_H
  29. #define STARTUP_DEFS_H
  30.  
  31. #define MYLIBVERSION        37
  32.  
  33. typedef STRPTR  KEY;
  34. typedef LONG *  NUMBER;
  35. typedef LONG    SWITCH;
  36.  
  37. struct Args {
  38.    NUMBER   ToolPri;
  39.    KEY      Startup;
  40.    SWITCH   Iconified;
  41.    KEY      PortName;
  42.    KEY      IntervalTime;
  43.    NUMBER   CpuDisplay;
  44.    KEY      Host;
  45.    KEY      User;
  46.    KEY      Password;
  47.    KEY      SingleWindows;
  48.    KEY      Command;
  49. };
  50.  
  51. #define TEMPLATE            "TOOLPRI/K/N,STARTUP/K,ICONIFIED/S,PORTNAME/K," \
  52.                             "INTERVALTIME=IT/K,CPUDISPLAY=CPU/K/N," \
  53.                             "HOST=H/K,USER=U/K,PASSWORD=PW/K," \
  54.                             "SW=SINGLEWINDOWS/S," \
  55.                             "COMMAND=C/K"
  56.  
  57. #define OPT_COUNT           sizeof(struct Args)/sizeof(LONG)
  58.  
  59.  
  60. #endif /* STARTUP_DEFS_H */
  61.